package com.ruoyi.dataPanel.service.impl;

import com.ruoyi.dataPanel.domain.Order;
import com.ruoyi.dataPanel.domain.OrderReturn;
import com.ruoyi.dataPanel.mapper.DataPanelMapper;
import com.ruoyi.dataPanel.service.DataPanelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DataPanelServiceImpl implements DataPanelService {
    @Autowired
    DataPanelMapper dataPaneMapperl;

    //初始数据
    @Override
    public List<Order> dataPanelList(String SelectedCategories, String SelectedDates,
                                     String years,
                                     String months,
                                     String weeks) {
        return dataPaneMapperl.dataPanelList(SelectedCategories,SelectedDates,years,months,weeks );
    }

    @Override
    public List<Order> handoffData(String SelectedDates, String SelectedCategories,
                                   String years,
                                   String months,
                                   String weeks  ) {
        return dataPaneMapperl.handoffData(SelectedDates,SelectedCategories,years,months,weeks );
    }

    @Override
    public List<Order> orderDataHandoff(String SelectedDates, String SelectedCategories, String year, String months, String weeks) {
        return dataPaneMapperl.orderDataHandoff(SelectedDates,SelectedCategories,year,months,weeks);
    }

    @Override
    public List<OrderReturn> orderReturnsList(String SelectedDates, String SelectedCategories) {
        return dataPaneMapperl.orderReturnsList(SelectedDates, SelectedCategories);
    }

    @Override
    public List<Order> orderDealList(String SelectedDates, String SelectedCategories) {
        return dataPaneMapperl.orderDealList(SelectedDates,SelectedCategories);
    }
}
